﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Home.Domain.Entities
{
    public class Brand
    {
        public int Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [MaxLength(30)]
        public string Title { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 新闻列表
        /// </summary>
        public virtual ICollection<Success> Successes { get; set; }
    }
    public class LeiBie
    {
        public int Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [MaxLength(30)]
        public string Title { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 新闻列表
        /// </summary>
        public virtual ICollection<Success> Successes { get; set; }
    }

}
